<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RobotComm: SModbusTcpClientNormalInfo结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RobotComm
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="struct_s_modbus_tcp_client_normal_info-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SModbusTcpClientNormalInfo结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>通用ModbusTCP客户端配置参数  
 <a href="struct_s_modbus_tcp_client_normal_info.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="comm__struct__define_8h_source.html">comm_struct_define.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:afa86c9484efa21f4dd8467a83ef3ccf3"><td class="memItemLeft" align="right" valign="top"><a id="afa86c9484efa21f4dd8467a83ef3ccf3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#afa86c9484efa21f4dd8467a83ef3ccf3">b_enable</a></td></tr>
<tr class="memdesc:afa86c9484efa21f4dd8467a83ef3ccf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">通讯启用使能 <br /></td></tr>
<tr class="separator:afa86c9484efa21f4dd8467a83ef3ccf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42f5ab3049ce3f8f20e759e7b0e09d7b"><td class="memItemLeft" align="right" valign="top"><a id="a42f5ab3049ce3f8f20e759e7b0e09d7b"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a42f5ab3049ce3f8f20e759e7b0e09d7b">ip</a> [20]</td></tr>
<tr class="memdesc:a42f5ab3049ce3f8f20e759e7b0e09d7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">IP地址 <br /></td></tr>
<tr class="separator:a42f5ab3049ce3f8f20e759e7b0e09d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7703fbd51832c3663756259838e0e0c"><td class="memItemLeft" align="right" valign="top"><a id="ad7703fbd51832c3663756259838e0e0c"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#ad7703fbd51832c3663756259838e0e0c">port</a></td></tr>
<tr class="memdesc:ad7703fbd51832c3663756259838e0e0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">端口 <br /></td></tr>
<tr class="separator:ad7703fbd51832c3663756259838e0e0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72129032f2fea2907f65e84fd8c455f"><td class="memItemLeft" align="right" valign="top"><a id="ac72129032f2fea2907f65e84fd8c455f"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#ac72129032f2fea2907f65e84fd8c455f">station_id</a></td></tr>
<tr class="memdesc:ac72129032f2fea2907f65e84fd8c455f"><td class="mdescLeft">&#160;</td><td class="mdescRight">站地址 <br /></td></tr>
<tr class="separator:ac72129032f2fea2907f65e84fd8c455f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a054683774adc77be7e2a0a3b28c600a1"><td class="memItemLeft" align="right" valign="top"><a id="a054683774adc77be7e2a0a3b28c600a1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a054683774adc77be7e2a0a3b28c600a1">b_read_coils</a></td></tr>
<tr class="memdesc:a054683774adc77be7e2a0a3b28c600a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">读内部线圈使能 <br /></td></tr>
<tr class="separator:a054683774adc77be7e2a0a3b28c600a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70777e8d6ebe54d4c98393f835ec96ed"><td class="memItemLeft" align="right" valign="top"><a id="a70777e8d6ebe54d4c98393f835ec96ed"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a70777e8d6ebe54d4c98393f835ec96ed">b_read_input_coils</a></td></tr>
<tr class="memdesc:a70777e8d6ebe54d4c98393f835ec96ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">读输入线圈使能 <br /></td></tr>
<tr class="separator:a70777e8d6ebe54d4c98393f835ec96ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d3a03265a051a4873b58b077bab1928"><td class="memItemLeft" align="right" valign="top"><a id="a0d3a03265a051a4873b58b077bab1928"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a0d3a03265a051a4873b58b077bab1928">b_read_hold_regs</a></td></tr>
<tr class="memdesc:a0d3a03265a051a4873b58b077bab1928"><td class="mdescLeft">&#160;</td><td class="mdescRight">读保持寄存器使能 <br /></td></tr>
<tr class="separator:a0d3a03265a051a4873b58b077bab1928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80877411075d8da8d9ca2aabe4948ffc"><td class="memItemLeft" align="right" valign="top"><a id="a80877411075d8da8d9ca2aabe4948ffc"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a80877411075d8da8d9ca2aabe4948ffc">b_read_input_regs</a></td></tr>
<tr class="memdesc:a80877411075d8da8d9ca2aabe4948ffc"><td class="mdescLeft">&#160;</td><td class="mdescRight">读输入寄存器使能 <br /></td></tr>
<tr class="separator:a80877411075d8da8d9ca2aabe4948ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a765f6d3344209b8ad6f23f69b31a9772"><td class="memItemLeft" align="right" valign="top"><a id="a765f6d3344209b8ad6f23f69b31a9772"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a765f6d3344209b8ad6f23f69b31a9772">b_write_coils</a></td></tr>
<tr class="memdesc:a765f6d3344209b8ad6f23f69b31a9772"><td class="mdescLeft">&#160;</td><td class="mdescRight">写内部线圈使能 <br /></td></tr>
<tr class="separator:a765f6d3344209b8ad6f23f69b31a9772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33a85a21b68becdbabfd1f1d01a02201"><td class="memItemLeft" align="right" valign="top"><a id="a33a85a21b68becdbabfd1f1d01a02201"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a33a85a21b68becdbabfd1f1d01a02201">b_write_hold_regs</a></td></tr>
<tr class="memdesc:a33a85a21b68becdbabfd1f1d01a02201"><td class="mdescLeft">&#160;</td><td class="mdescRight">写保持寄存器使能 <br /></td></tr>
<tr class="separator:a33a85a21b68becdbabfd1f1d01a02201"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaab7546fab44b979b82b7bff399cedc5"><td class="memItemLeft" align="right" valign="top"><a id="aaab7546fab44b979b82b7bff399cedc5"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#aaab7546fab44b979b82b7bff399cedc5">read_coils_start_adress</a></td></tr>
<tr class="memdesc:aaab7546fab44b979b82b7bff399cedc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">读内部线圈起始地址 <br /></td></tr>
<tr class="separator:aaab7546fab44b979b82b7bff399cedc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2a42cd0cdbd269869aa0379bcc5bde8"><td class="memItemLeft" align="right" valign="top"><a id="af2a42cd0cdbd269869aa0379bcc5bde8"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#af2a42cd0cdbd269869aa0379bcc5bde8">read_coils_data_len</a></td></tr>
<tr class="memdesc:af2a42cd0cdbd269869aa0379bcc5bde8"><td class="mdescLeft">&#160;</td><td class="mdescRight">读内部线圈数据长度 <br /></td></tr>
<tr class="separator:af2a42cd0cdbd269869aa0379bcc5bde8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65505b761dfcb77cec4e88ca9cd0c492"><td class="memItemLeft" align="right" valign="top"><a id="a65505b761dfcb77cec4e88ca9cd0c492"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a65505b761dfcb77cec4e88ca9cd0c492">read_input_coils_start_adress</a></td></tr>
<tr class="memdesc:a65505b761dfcb77cec4e88ca9cd0c492"><td class="mdescLeft">&#160;</td><td class="mdescRight">读输入线圈起始地址 <br /></td></tr>
<tr class="separator:a65505b761dfcb77cec4e88ca9cd0c492"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218f566a2ac7be3e144ab04a6f81aa53"><td class="memItemLeft" align="right" valign="top"><a id="a218f566a2ac7be3e144ab04a6f81aa53"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a218f566a2ac7be3e144ab04a6f81aa53">read_input_coils_data_len</a></td></tr>
<tr class="memdesc:a218f566a2ac7be3e144ab04a6f81aa53"><td class="mdescLeft">&#160;</td><td class="mdescRight">读输入线圈数据长度 <br /></td></tr>
<tr class="separator:a218f566a2ac7be3e144ab04a6f81aa53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29a5cfe41b1bbab27822cd0c4aea4e84"><td class="memItemLeft" align="right" valign="top"><a id="a29a5cfe41b1bbab27822cd0c4aea4e84"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a29a5cfe41b1bbab27822cd0c4aea4e84">read_hold_regs_start_adress</a></td></tr>
<tr class="memdesc:a29a5cfe41b1bbab27822cd0c4aea4e84"><td class="mdescLeft">&#160;</td><td class="mdescRight">读保持寄存器起始地址 <br /></td></tr>
<tr class="separator:a29a5cfe41b1bbab27822cd0c4aea4e84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94a9d0b00a85e5e5c94ce49c8d88fc9e"><td class="memItemLeft" align="right" valign="top"><a id="a94a9d0b00a85e5e5c94ce49c8d88fc9e"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a94a9d0b00a85e5e5c94ce49c8d88fc9e">read_hold_regs_data_len</a></td></tr>
<tr class="memdesc:a94a9d0b00a85e5e5c94ce49c8d88fc9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">读保持寄存器数据长度 <br /></td></tr>
<tr class="separator:a94a9d0b00a85e5e5c94ce49c8d88fc9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58e47527fb1a57fb633ce77eb62017f9"><td class="memItemLeft" align="right" valign="top"><a id="a58e47527fb1a57fb633ce77eb62017f9"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a58e47527fb1a57fb633ce77eb62017f9">read_input_regs_start_adress</a></td></tr>
<tr class="memdesc:a58e47527fb1a57fb633ce77eb62017f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">读输入寄存器起始地址 <br /></td></tr>
<tr class="separator:a58e47527fb1a57fb633ce77eb62017f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af16d978780c1da964dae8a92223ff52e"><td class="memItemLeft" align="right" valign="top"><a id="af16d978780c1da964dae8a92223ff52e"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#af16d978780c1da964dae8a92223ff52e">read_input_regs_data_len</a></td></tr>
<tr class="memdesc:af16d978780c1da964dae8a92223ff52e"><td class="mdescLeft">&#160;</td><td class="mdescRight">读输入寄存器数据长度 <br /></td></tr>
<tr class="separator:af16d978780c1da964dae8a92223ff52e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71ec3428de94318f36f6f154b55d54a4"><td class="memItemLeft" align="right" valign="top"><a id="a71ec3428de94318f36f6f154b55d54a4"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a71ec3428de94318f36f6f154b55d54a4">write_coils_start_adress</a></td></tr>
<tr class="memdesc:a71ec3428de94318f36f6f154b55d54a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">写内部线圈起始地址 <br /></td></tr>
<tr class="separator:a71ec3428de94318f36f6f154b55d54a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab51fbfb06af9d97e0d60c2a55c4bc766"><td class="memItemLeft" align="right" valign="top"><a id="ab51fbfb06af9d97e0d60c2a55c4bc766"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#ab51fbfb06af9d97e0d60c2a55c4bc766">write_coils_data_len</a></td></tr>
<tr class="memdesc:ab51fbfb06af9d97e0d60c2a55c4bc766"><td class="mdescLeft">&#160;</td><td class="mdescRight">写内部线圈数据长度 <br /></td></tr>
<tr class="separator:ab51fbfb06af9d97e0d60c2a55c4bc766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5870b1081a0bf6fdea775c4d18a9e7fc"><td class="memItemLeft" align="right" valign="top"><a id="a5870b1081a0bf6fdea775c4d18a9e7fc"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a5870b1081a0bf6fdea775c4d18a9e7fc">write_hold_regs_start_adress</a></td></tr>
<tr class="memdesc:a5870b1081a0bf6fdea775c4d18a9e7fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">写保持寄存器起始地址 <br /></td></tr>
<tr class="separator:a5870b1081a0bf6fdea775c4d18a9e7fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8fa74c07881027988d8445c4279bd20"><td class="memItemLeft" align="right" valign="top"><a id="ab8fa74c07881027988d8445c4279bd20"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#ab8fa74c07881027988d8445c4279bd20">write_hold_regs_data_len</a></td></tr>
<tr class="memdesc:ab8fa74c07881027988d8445c4279bd20"><td class="mdescLeft">&#160;</td><td class="mdescRight">写保持寄存器数据长度 <br /></td></tr>
<tr class="separator:ab8fa74c07881027988d8445c4279bd20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3d730051043a48ec853b535ae2daa76"><td class="memItemLeft" align="right" valign="top"><a id="ac3d730051043a48ec853b535ae2daa76"></a>
unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#ac3d730051043a48ec853b535ae2daa76">p_coils</a></td></tr>
<tr class="memdesc:ac3d730051043a48ec853b535ae2daa76"><td class="mdescLeft">&#160;</td><td class="mdescRight">内部线圈数据地址 <br /></td></tr>
<tr class="separator:ac3d730051043a48ec853b535ae2daa76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d186f7ac992411ed9e118fbfaba3419"><td class="memItemLeft" align="right" valign="top"><a id="a0d186f7ac992411ed9e118fbfaba3419"></a>
unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a0d186f7ac992411ed9e118fbfaba3419">p_input_coils</a></td></tr>
<tr class="memdesc:a0d186f7ac992411ed9e118fbfaba3419"><td class="mdescLeft">&#160;</td><td class="mdescRight">输入线圈数据地址 <br /></td></tr>
<tr class="separator:a0d186f7ac992411ed9e118fbfaba3419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a383a8ad58a8cd3bf7df268ec1e7da2bb"><td class="memItemLeft" align="right" valign="top"><a id="a383a8ad58a8cd3bf7df268ec1e7da2bb"></a>
unsigned short *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a383a8ad58a8cd3bf7df268ec1e7da2bb">p_hold_regs</a></td></tr>
<tr class="memdesc:a383a8ad58a8cd3bf7df268ec1e7da2bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">保持寄存器数据地址 <br /></td></tr>
<tr class="separator:a383a8ad58a8cd3bf7df268ec1e7da2bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02d3c55b7426c21e04c676e4f3607d9a"><td class="memItemLeft" align="right" valign="top"><a id="a02d3c55b7426c21e04c676e4f3607d9a"></a>
unsigned short *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#a02d3c55b7426c21e04c676e4f3607d9a">p_input_regs</a></td></tr>
<tr class="memdesc:a02d3c55b7426c21e04c676e4f3607d9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">输入寄存器数据地址 <br /></td></tr>
<tr class="separator:a02d3c55b7426c21e04c676e4f3607d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af103d4f1fb1962b839055fedeecc1224"><td class="memItemLeft" align="right" valign="top"><a id="af103d4f1fb1962b839055fedeecc1224"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_modbus_tcp_client_normal_info.html#af103d4f1fb1962b839055fedeecc1224">time_out</a></td></tr>
<tr class="memdesc:af103d4f1fb1962b839055fedeecc1224"><td class="mdescLeft">&#160;</td><td class="mdescRight">超时时间,单位毫秒（0不检查超时） <br /></td></tr>
<tr class="separator:af103d4f1fb1962b839055fedeecc1224"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>通用ModbusTCP客户端配置参数 </p>
</div><hr/>该结构体的文档由以下文件生成:<ul>
<li>E:/RobotProgram/RobotComm/RobotComm/include/<a class="el" href="comm__struct__define_8h_source.html">comm_struct_define.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
